﻿CREATE FUNCTION [maint].[GetDeviceName]
(@DbName [sysname])
RETURNS NVARCHAR (128)
AS
BEGIN
	DECLARE @ReturnValue nvarchar(128)
	SET @ReturnValue = maint.GetDeviceGroupName(@DbName)
		+ N'_CURRENT'

	RETURN(@ReturnValue)
END